fix: regenerate pnpm-lock.yaml to fix broken lockfile CI failures#1121
Merged
fix: regenerate pnpm-lock.yaml to fix broken lockfile CI failures#1121
Conversation
Agent-Logs-Url: https://github.com/objectstack-ai/framework/sessions/5fcec336-f6b0-436e-a8d7-9e65a144cae4 Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>
Copilot created this pull request from a session on behalf of
hotlong
April 13, 2026 11:59
View session
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
There was a problem hiding this comment.
Pull request overview
This PR addresses CI failures caused by a corrupted pnpm-lock.yaml by regenerating the lockfile and updating release notes. It also updates auto-generated API reference docs to include the API events schema page.
Changes:
- Regenerated
pnpm-lock.yamlto resolveERR_PNPM_BROKEN_LOCKFILEfailures duringpnpm install --frozen-lockfile. - Updated the changelog to document the lockfile fix.
- Updated/added auto-generated API reference docs for
events(and extended metadata plugin reference content).
Reviewed changes
Copilot reviewed 5 out of 6 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
| pnpm-lock.yaml | Regenerated lockfile to fix YAML stream corruption and restore frozen-lockfile installs. |
| CHANGELOG.md | Added an Unreleased “Fixed” entry documenting the lockfile regeneration and CI impact. |
| content/docs/references/api/metadata-plugin.mdx | Updated generated API reference page; added MetadataEvent section and adjusted TypeScript usage snippet. |
| content/docs/references/api/events.mdx | New generated API reference page for event schemas/types. |
| content/docs/references/api/meta.json | Added events to the API reference navigation. |
| content/docs/references/api/index.mdx | Added an “Events” card linking to the new reference page. |
Comment on lines
655
to
659
| version: link:../spec | ||
| react: | ||
| specifier: '>=18.0.0' | ||
| version: 19.2.4 | ||
| version: 19.2.5 | ||
| devDependencies: |
Comment on lines
+15
to
19
| import { MetadataBulkRegisterRequest, MetadataEvent } from '@objectstack/spec/api'; | ||
| import type { MetadataBulkRegisterRequest, MetadataEvent } from '@objectstack/spec/api'; | ||
|
|
||
| // Validate data | ||
| const result = MetadataBulkRegisterRequest.parse(data); |
Comment on lines
+29
to
+33
| import { DataEvent, DataEventType, MetadataEventType } from '@objectstack/spec/api'; | ||
| import type { DataEvent, DataEventType, MetadataEventType } from '@objectstack/spec/api'; | ||
|
|
||
| // Validate data | ||
| const result = DataEvent.parse(data); |
Comment on lines
17
to
22
| <Card href="/docs/references/api/documentation" title="Documentation" description="Source: packages/spec/src/api/documentation.zod.ts" /> | ||
| <Card href="/docs/references/api/endpoint" title="Endpoint" description="Source: packages/spec/src/api/endpoint.zod.ts" /> | ||
| <Card href="/docs/references/api/errors" title="Errors" description="Source: packages/spec/src/api/errors.zod.ts" /> | ||
| <Card href="/docs/references/api/events" title="Events" description="Source: packages/spec/src/api/events.zod.ts" /> | ||
| <Card href="/docs/references/api/export" title="Export" description="Source: packages/spec/src/api/export.zod.ts" /> | ||
| <Card href="/docs/references/api/feed-api" title="Feed Api" description="Source: packages/spec/src/api/feed-api.zod.ts" /> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PR #1117's merge commit carried only the workflow cache key bumps (
v1→v2) but silently dropped the regeneratedpnpm-lock.yaml. All three CI jobs (Build Core,Test Core,Build Docs) fail atpnpm install --frozen-lockfilewithERR_PNPM_BROKEN_LOCKFILE: expected a single document in the stream, but found more.Changes:
pnpm-lock.yamlfrom scratch (rm pnpm-lock.yaml && pnpm install), reducing from 14,040 → 13,096 lines by removing corrupted/redundant entries